/**
 * @author xinjie.txt
 * @time: 2020年6月22日 下午3:54:22
 */
package com.jiepu.daily.corejava.day0622;

/**
 * @Description:
 * @author xinjie.txt
 */
public class DataType {
	public static void main(String[] args) {
		/**
		 * 布尔类型
		 */
		System.out.println("--------------------------");
		boolean a = true;
		boolean b = false;
		boolean c = 60 < 10;
		boolean d = 10 == 50;
		System.out.println("a:" + a + "\nb:" + b);
		System.out.println("c:" + c);
		System.out.println("d:" + d);
		Boolean boolean1 = a;// 对象
		System.out.println(boolean1.getClass());

		//
		char a1 = '5';
		char b1 = '新';
		char c1 = '/';
		char d1 = 'a'; // a----97
		char e1 = 'A'; // A----65 大小写相差32
		char d12 = 97; // 97----a
		System.out.println(a1);
		System.out.println(b1);
		System.out.println(c1);
		System.out.println((int) d1);
		System.out.println((int) e1);
		System.out.println(d12);
		// 案例
		char a11 = 14;
		char b11 = 15;
		int c11 = a11 + b11;
		System.out.println(c11);
		System.out.println("-------------------------------");


	}
}
